#ifndef __CIRCLE_OBJECT_H__
#define __CIRCLE_OBJECT_H__

#include "BaseObject.h"

class CCircleObject : public CBaseObject
{
public:
	CCircleObject(b2World* world);
	~CCircleObject();

public:
	virtual void		Initialize();
	virtual void		Draw();
	virtual void		GenB2();

public:	
	void SetCircle(core::position2df& pos, float radius);
	void SetSolid(bool isSolid);	

public:
	core::position2df	m_Pos;
	float				m_fRadius;
	b2CircleShape*		m_pShape;

private:
	//def
	b2BodyDef			m_BodyDef;
	b2CircleDef			m_ShapeDef;
	//is solid
	bool				m_bIsSolid;

};

#endif//__CIRCLE_OBJECT_H__